package com.egg.ylt.view;

import com.egg.ylt.pojo.BabyDynamicMsgEntity;
import com.egg.ylt.pojo.CurrentBabyInfoEntity;
import com.egg.ylt.pojo.RelationEntity;
import com.egg.ylt.pojo.UploadPhotoEntity;
import com.yonyou.framework.library.view.BaseView;

import java.util.List;

/**
 * Created By Dlx
 * on 2019/1/18
 */
public interface IRecordView extends BaseView {
    void showToast(String msg);

    void onCurrentBabyReceived(CurrentBabyInfoEntity babyInfoEntity);

    void onCurrentBabyNotFound();

    void onBabyMsgsReceived(BabyDynamicMsgEntity babyDynamicMsgEntity);

    void showDeleteConfirmDialog(String dataId, int position);

    void onDeleteSuccess(int position);

    void showChoosePicDialog();

    void onUploadSucceed(UploadPhotoEntity entity);

    void onSaveDiarySucceed();

    void bindRelativeSuccess();

    void updateRelationList(List<RelationEntity.ListBean> list);
}
